package org.chuan.auth.mapper;

import org.chuan.auth.domain.RolePermission;
import org.chuan.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaosang
 * @since 2024-04-07
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    void deleteByRoleId(Long id);

    void batchSave(List<RolePermission> list);

    List<Long> queryPermissionId(Long id);

    List<String> getPermissionSnByEmployeeId(Long id);
}
